home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / bildschirmschoner / swazblanker / programmer / include / libraries / swazconfig.h < prev    next >
C/C++ Source or Header  |  1996-04-07  |  2KB  |  65 lines

  1. #ifndef LIBRARIES_SWAZCONFIG_H
  2. #define LIBRARIES_SWAZCONFIG_H
  3. /*
  4. **      $Filename: libraries/swazconfig.h $
  5. **      $Release: 1.0 $
  6. **      $Revision: 1.0 $
  7. **
  8. **      SwazConfig definitions
  9. **
  10. **    (C) Copyright 1995 David Swasbrook
  11. **        All Rights Reserved
  12. */
  13.  
  14. /*****************************************************************************/
  15.  
  16. #ifndef EXEC_LIBRARIES_H
  17. #include <exec/libraries.h>
  18. #endif
  19.  
  20. /*****************************************************************************/
  21.  
  22. #define SWAZCONFIGNAME    "swazconfig.library"
  23. #define SC_TagBase        TAG_USER
  24.  
  25. /*****************************************************************************/
  26.  
  27.  
  28. /*****************************************************************************
  29.    This structure is private, you should not have any need to read or write
  30.    to this.
  31.  */
  32. struct SwazConfigBase {
  33.     struct Library LibNode;
  34.     UBYTE    Flags;
  35.     APTR    SegList;
  36.     struct SignalSemaphore AccessSem;
  37.     struct List AccessList;
  38.  
  39. };
  40.  
  41.  
  42. /*****************************************************************************
  43.    This structure is private
  44.  ****************************************************************************/
  45. struct SC_Config {
  46.     void *Pool;
  47.     struct List List;
  48. };
  49.  
  50. /*****************************************************************************
  51.    This structure is read only
  52.  ****************************************************************************/
  53. struct SC_ConfigVar {
  54.     struct Node Node;
  55.     STRPTR    Data;
  56.     LONG DataSize;
  57. };
  58.  
  59.  
  60. #define SCV_COMMENT    0
  61. #define SCV_VARIABLE   1
  62.  
  63.  
  64. #endif    /* LIBRARIES_SWAZCONFIG_H */
  65.